FROM registry.cn-shanghai.aliyuncs.com/c7n/javabase:jdk8u282-b08
ADD ./target/app.jar /tianhua-iam-saas.jar
ENV JAVA_TOOL_OPTIONS -Dfile.encoding=UTF8 -Duser.language=zh -Duser.region=CN -Duser.country=CN
ENTRYPOINT exec java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap $JAVA_OPTS $SKYWALKING_OPTS  -jar /tianhua-iam-saas.jar
